package org.smarthings.things.management.rest.resources.actions;

import java.util.List;

import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.smarthings.things.commons.rest.BasicResource;
import org.w3c.dom.Element;

@XmlType(name = "thingActionExecution")
@XmlRootElement(name = "thingActionExecution")
public class ThingActionExecutionResource extends BasicResource {

	private List<Element> arguments;

	@XmlAnyElement(lax = true)
	@XmlElementWrapper(name = "arguments", required = false)
	public List<Element> getArguments() {
		return arguments;
	}

	public void setArguments(List<Element> arguments) {
		this.arguments = arguments;
	}

}
